/**
 * ClassName: PassObject
 * Package: PACKAGE_NAME
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/9/1 19:53
 * @Version 1.0
 */
public class PassObject {

    public static void main(String[] args) {
        PassObject test = new PassObject();
        Circle c1 = new Circle();
        test.printArea(c1, 5);
    }

    public void printArea(Circle c, int time){
        System.out.println("Radius\t\tArea");

        for (int i = 1; i <= time; i++) {
            c.radius = i;
            System.out.println(c.radius + "\t\t\t" + c.findArea(c.radius));
        }

    }
}
